package org.jeecg.modules.classrooms.rent.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: rent
 * @Author: jeecg-boot
 * @Date:   2020-05-19
 * @Version: V1.0
 */
@Data
@TableName("rent")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="rent对象", description="rent")
public class Rent implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id 租赁id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id 租赁id")
    private String id;
	/**企业id*/
	@Excel(name = "企业id", width = 15)
    @ApiModelProperty(value = "企业id")
    private String companyId;
	/** 教室id*/
	@Excel(name = " 教室id", width = 15)
    @ApiModelProperty(value = " 教室id")
    private String classroomsId;
	/** 企业名称*/
	@Excel(name = " 企业名称", width = 15)
    @ApiModelProperty(value = " 企业名称")
    private String companyName;
	/** 租赁教室*/
	@Excel(name = " 租赁教室", width = 15)
    @ApiModelProperty(value = " 租赁教室")
    private String rentClassrooms;

    /**租止期*/
    @Excel(name = "租止期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "租止期")
    private java.util.Date rentDate;

    /**开始时间*/
    @Excel(name = "开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private java.util.Date startTime;

	/** 费用*/
	@Excel(name = " 费用", width = 15)
    @ApiModelProperty(value = " 费用")
    private BigDecimal rentCost;
	/**合同编号*/
	@Excel(name = "合同编号", width = 15)
    @ApiModelProperty(value = "合同编号")
    private String contractNumber;
	/**租赁说明：*/
	@Excel(name = "租赁说明：", width = 15)
    @ApiModelProperty(value = "租赁说明：")
    private String rentDescription;
	/**是否过期：0未过期/1过期*/
	@Excel(name = "是否过期：0未过期/1过期", width = 15)
    @ApiModelProperty(value = "是否过期：0未过期/1过期")
    private String isok;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
